package com.llx;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @version 1.0
 * @description: TODO
 * @author: viki
 * @date 2021/5/19 17:15
 */
@Configuration
@ComponentScan
public class JavaConfig {

	@Bean
	public User user(){ return new User("001","viki哥"); }
}
